type net.netFD
71 uses
net (current package)
fd_posix.go#L17: type netFD struct {
fd_posix.go#L29: func (fd *netFD) setAddr(laddr, raddr Addr) {
fd_posix.go#L32: runtime.SetFinalizer(fd, (*netFD).Close)
fd_posix.go#L35: func (fd *netFD) Close() error {
fd_posix.go#L40: func (fd *netFD) shutdown(how int) error {
fd_posix.go#L46: func (fd *netFD) closeRead() error {
fd_posix.go#L50: func (fd *netFD) closeWrite() error {
fd_posix.go#L54: func (fd *netFD) Read(p []byte) (n int, err error) {
fd_posix.go#L60: func (fd *netFD) readFrom(p []byte) (n int, sa syscall.Sockaddr, err error) {
fd_posix.go#L65: func (fd *netFD) readFromInet4(p []byte, from *syscall.SockaddrInet4) (n int, err error) {
fd_posix.go#L71: func (fd *netFD) readFromInet6(p []byte, from *syscall.SockaddrInet6) (n int, err error) {
fd_posix.go#L77: func (fd *netFD) readMsg(p []byte, oob []byte, flags int) (n, oobn, retflags int, sa syscall.Sockaddr, err error) {
fd_posix.go#L83: func (fd *netFD) readMsgInet4(p []byte, oob []byte, flags int, sa *syscall.SockaddrInet4) (n, oobn, retflags int, err error) {
fd_posix.go#L89: func (fd *netFD) readMsgInet6(p []byte, oob []byte, flags int, sa *syscall.SockaddrInet6) (n, oobn, retflags int, err error) {
fd_posix.go#L95: func (fd *netFD) Write(p []byte) (nn int, err error) {
fd_posix.go#L101: func (fd *netFD) writeTo(p []byte, sa syscall.Sockaddr) (n int, err error) {
fd_posix.go#L107: func (fd *netFD) writeToInet4(p []byte, sa *syscall.SockaddrInet4) (n int, err error) {
fd_posix.go#L113: func (fd *netFD) writeToInet6(p []byte, sa *syscall.SockaddrInet6) (n int, err error) {
fd_posix.go#L119: func (fd *netFD) writeMsg(p []byte, oob []byte, sa syscall.Sockaddr) (n int, oobn int, err error) {
fd_posix.go#L125: func (fd *netFD) writeMsgInet4(p []byte, oob []byte, sa *syscall.SockaddrInet4) (n int, oobn int, err error) {
fd_posix.go#L131: func (fd *netFD) writeMsgInet6(p []byte, oob []byte, sa *syscall.SockaddrInet6) (n int, oobn int, err error) {
fd_posix.go#L137: func (fd *netFD) SetDeadline(t time.Time) error {
fd_posix.go#L141: func (fd *netFD) SetReadDeadline(t time.Time) error {
fd_posix.go#L145: func (fd *netFD) SetWriteDeadline(t time.Time) error {
fd_unix.go#L26: func newFD(sysfd, family, sotype int, net string) (*netFD, error) {
fd_unix.go#L27: ret := &netFD{
fd_unix.go#L40: func (fd *netFD) init() error {
fd_unix.go#L44: func (fd *netFD) name() string {
fd_unix.go#L55: func (fd *netFD) connect(ctx context.Context, la, ra syscall.Sockaddr) (rsa syscall.Sockaddr, ret error) {
fd_unix.go#L171: func (fd *netFD) accept() (netfd *netFD, err error) {
fd_unix.go#L196: func (fd *netFD) dup() (f *os.File, err error) {
file_unix.go#L30: func newFileFD(f *os.File) (*netFD, error) {
iprawsock.go#L202: func newIPConn(fd *netFD) *IPConn { return &IPConn{conn{fd}} }
ipsock_posix.go#L137: func internetSocket(ctx context.Context, net string, laddr, raddr sockaddr, sotype, proto int, mode string, ctrlCtxFn func(context.Context, string, string, syscall.RawConn) error) (fd *netFD, err error) {
mptcpsock_linux.go#L97: func hasFallenBack(fd *netFD) bool {
mptcpsock_linux.go#L111: func isUsingMPTCPProto(fd *netFD) bool {
mptcpsock_linux.go#L121: func isUsingMultipathTCP(fd *netFD) bool {
net.go#L167: fd *netFD
rawconn.go#L23: fd *netFD
rawconn.go#L78: func newRawConn(fd *netFD) (*rawConn, error) {
rawconn.go#L94: func newRawListener(fd *netFD) (*rawListener, error) {
sendfile_linux.go#L20: func sendFile(c *netFD, r io.Reader) (written int64, err error, handled bool) {
sock_posix.go#L18: func socket(ctx context.Context, net string, family, sotype, proto int, ipv6only bool, laddr, raddr sockaddr, ctrlCtxFn func(context.Context, string, string, syscall.RawConn) error) (fd *netFD, err error) {
sock_posix.go#L77: func (fd *netFD) ctrlNetwork() string {
sock_posix.go#L92: func (fd *netFD) addrFunc() func(syscall.Sockaddr) Addr {
sock_posix.go#L116: func (fd *netFD) dial(ctx context.Context, laddr, raddr sockaddr, ctrlCtxFn func(context.Context, string, string, syscall.RawConn) error) error {
sock_posix.go#L177: func (fd *netFD) listenStream(ctx context.Context, laddr sockaddr, backlog int, ctrlCtxFn func(context.Context, string, string, syscall.RawConn) error) error {
sock_posix.go#L211: func (fd *netFD) listenDatagram(ctx context.Context, laddr sockaddr, ctrlCtxFn func(context.Context, string, string, syscall.RawConn) error) error {
sockopt_posix.go#L104: func setReadBuffer(fd *netFD, bytes int) error {
sockopt_posix.go#L110: func setWriteBuffer(fd *netFD, bytes int) error {
sockopt_posix.go#L116: func setKeepAlive(fd *netFD, keepalive bool) error {
sockopt_posix.go#L122: func setLinger(fd *netFD, sec int) error {
sockoptip_linux.go#L12: func setIPv4MulticastInterface(fd *netFD, ifi *Interface) error {
sockoptip_linux.go#L23: func setIPv4MulticastLoopback(fd *netFD, v bool) error {
sockoptip_posix.go#L14: func joinIPv4Group(fd *netFD, ifi *Interface, ip IP) error {
sockoptip_posix.go#L24: func setIPv6MulticastInterface(fd *netFD, ifi *Interface) error {
sockoptip_posix.go#L34: func setIPv6MulticastLoopback(fd *netFD, v bool) error {
sockoptip_posix.go#L40: func joinIPv6Group(fd *netFD, ifi *Interface, ip IP) error {
splice_linux.go#L17: func splice(c *netFD, r io.Reader) (written int64, err error, handled bool) {
splice_linux.go#L27: var s *netFD
tcpsock.go#L238: func newTCPConn(fd *netFD, keepAlive time.Duration, keepAliveHook func(time.Duration)) *TCPConn {
tcpsock.go#L280: fd *netFD
tcpsock_posix.go#L117: func selfConnect(fd *netFD, err error) bool {
tcpsockopt_posix.go#L14: func setNoDelay(fd *netFD, noDelay bool) error {
tcpsockopt_unix.go#L15: func setKeepAlivePeriod(fd *netFD, d time.Duration) error {
udpsock.go#L281: func newUDPConn(fd *netFD) *UDPConn { return &UDPConn{conn{fd}} }
unixsock.go#L195: func newUnixConn(fd *netFD) *UnixConn { return &UnixConn{conn{fd}} }
unixsock.go#L221: fd *netFD
unixsock_posix.go#L16: func unixSocket(ctx context.Context, net string, laddr, raddr sockaddr, mode string, ctxCtrlFn func(context.Context, string, string, syscall.RawConn) error) (*netFD, error) {
writev_unix.go#L25: func (fd *netFD) writeBuffers(v *Buffers) (n int64, err error) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |